<!DOCTYPE html>
<html lang="zh">

<head>
    <meta charset="UTF-8">
    <meta name="viewport" content="width=device-width, initial-scale=1.0">
    <title>CSS基础知识练习</title>
    <link rel="stylesheet" href="main.css">
    <style>
        li {
            color: red;
        }

    </style>
</head>

<body>
    <h1>CSS基础知识练习</h1>
    <section>
        <h2 class="yellow">引用CSS的三种方式</h2>
        <ul>
            <li>外部样式表</li>
            <li>内部样式表</li>
            <li style="color: rgb(123, 170, 12);">内嵌样式表</li>
        </ul>
    </section>
    <section>
        <h2>选择符</h2>
        <ul>
            <li title="这是一个title属性">type selector</li>
            <li title="这是一个属性">type selector</li>
            <li class="yellow">type selector</li>
            <li class="yellow"><a href="http://www.baidu.com">链接</a>伪类选择符</li>
        </ul>
        <p>汉字Lorem ipsum dolor sit amet consectetur adipisicing elit. Sequi odit ab tenetur sapiente obcaecati a alias
            vero. Voluptatibus error ipsa libero voluptates porro pariatur quia asperiores ducimus eveniet officia?
            Aspernatur?</p>

    </section>
    <section id="score">
        <p>分数：99</p>
    </section>
</body>

</html>
